<html>
    <head>
        <title>关于div</title>
        <meta charset="UTF-8">
        <style type="text/css">
            div{
                width: 200px;
                height: 200px;
                position: absolute;
            }
            #div1{
                background-color: #ABC;
            }
            #div2{
                background-color: #BCA;
                left: 100px;
                top: 100px;
            }
            #div3{
                background-color: #CBA;
                left: 200px;
                top: 200px;
            }
        </style>
    </head>
    <body>
       <div id="div1">div1</div> 
       <div id="div2">div2</div> 
       <div id="div3">div3</div> 
    </body>
</html>